package com.ddd.mill.api.product.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel("")
@Data
public class GetProductPageDto {
    @ApiModelProperty("")
    private Long id;
    @ApiModelProperty("商品图")
    private String litimgUrl;
    @ApiModelProperty("商品编号")
    private String productNo;
    @ApiModelProperty("商品分类id")
    private Long productTypeId;
    @ApiModelProperty("商品分类")
    private String productTypeName;
    @ApiModelProperty("商品品牌")
    private String factoryName;
    @ApiModelProperty("商品名称")
    private String name;
    @ApiModelProperty("商品货号")
    private String goodsNo;
    @ApiModelProperty("状态。0：未上架，1：上架中，2：已下架")
    private Byte status;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
